package com.cp.helper.bean;

import java.sql.Timestamp;
import java.io.Serializable;
/**
 * 描述:自动生成的Todo
 *
 * @author chenpeng
 * @date 2015-10-22 20:58:13
 */
public class Todo implements Serializable{

    private static final long serialVersionUID = 1L;
    /**
     *主键
     */
    private Integer id;

    /**
     *用户id
     */
    private Integer userId;

    /**
     *内容
     */
    private String content;

    /**
     *状态 1-待完成 2-已完成
     */
    private Integer statusFlag;

    /**
     *创建时间
     */
    private Timestamp createTime;


    public void Todo(){}


    public Integer getId(){
        return this.id;
    }

    public void setId(Integer id){
        this.id = id;
    }

    public Integer getUserId(){
        return this.userId;
    }

    public void setUserId(Integer userId){
        this.userId = userId;
    }

    public String getContent(){
        return this.content;
    }

    public void setContent(String content){
        this.content = content;
    }

    public Integer getStatusFlag(){
        return this.statusFlag;
    }

    public void setStatusFlag(Integer statusFlag){
        this.statusFlag = statusFlag;
    }

    public Timestamp getCreateTime(){
        return this.createTime;
    }

    public void setCreateTime(Timestamp createTime){
        this.createTime = createTime;
    }

    @Override
    public String toString(){
        return this.id+","+this.userId+","+this.content+","+this.statusFlag+","+this.createTime;
    }
}
